hackerrank sparse array problem solution

welcome to shbcf.ru